- Web.config
- project /
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 For more information on how to configure your ASP.NET application, please visit
4 https://go.microsoft.com/fwlink/?LinkId=301880
5 -->
6 <configuration>
7 <configSections>
8 <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
9 <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
10 </configSections>
11 <connectionStrings>
12 <add name="DefaultConnection" connectionString="data source=DESKTOP-13DJ6LQ\SQLEXPRESS;initial catalog=Future;Integrated Security=True" providerName="System.Data.SqlClient" />
13 <!--<add name="DefaultConnection" connectionString="Data Source=SQL5046.site4now.net;Initial Catalog=DB_A4F17D_nguyentien196;User Id=DB_A4F17D_nguyentien196_admin;Password=p4JGEH58RN_P*6n;" providerName="System.Data.SqlClient"/>
14 <add name="FutureEntities" connectionString="metadata=res://*/Models.FutureModel.csdl|res://*/Models.FutureModel.ssdl|res://*/Models.FutureModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=SQL5046.site4now.net;Initial Catalog=DB_A4F17D_nguyentien196;User Id=DB_A4F17D_nguyentien196_admin;Password=p4JGEH58RN_P*6n"" providerName="System.Data.EntityClient"/>-->
15 <add name="FutureEntities" connectionString="metadata=res://*/Models.FutureModel.csdl|res://*/Models.FutureModel.ssdl|res://*/Models.FutureModel.msl;provider=System.Data.SqlClient;provider connection string="data source=DESKTOP-13DJ6LQ\SQLEXPRESS;initial catalog=Future;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
16 </connectionStrings>
17 <appSettings>
18 <add key="webpages:Version" value="3.0.0.0" />
19 <add key="webpages:Enabled" value="false" />
20 <add key="ClientValidationEnabled" value="true" />
21 <add key="UnobtrusiveJavaScriptEnabled" value="true" />
22 <add key="owin:AppStartup" value="Future.Startup,Future" />
23 </appSettings>
24 <!--
25 For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
26
27 The following attributes can be set on the <httpRuntime> tag.
28 <system.Web>
29 <httpRuntime targetFramework="4.5" />
30 </system.Web>
31 -->
32 <system.web>
33 <authentication mode="None" />
34 <compilation targetFramework="4.7.2" />
35 <httpRuntime targetFramework="4.5" />
36 </system.web>
37 <system.webServer>
38 <modules>
39 <remove name="FormsAuthentication" />
40 </modules>
41 </system.webServer>
42 <runtime>
43 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
44 <dependentAssembly>
45 <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
46 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
47 </dependentAssembly>
48 <dependentAssembly>
49 <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
50 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
51 </dependentAssembly>
52 <dependentAssembly>
53 <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
54 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
55 </dependentAssembly>
56 <dependentAssembly>
57 <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
58 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
59 </dependentAssembly>
60 <dependentAssembly>
61 <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
62 <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
63 </dependentAssembly>
64 <dependentAssembly>
65 <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
66 <bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
67 </dependentAssembly>
68 <dependentAssembly>
69 <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
70 <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
71 </dependentAssembly>
72 <dependentAssembly>
73 <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
74 <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
75 </dependentAssembly>
76 <dependentAssembly>
77 <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
78 <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
79 </dependentAssembly>
80 <dependentAssembly>
81 <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
82 <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
83 </dependentAssembly>
84 <dependentAssembly>
85 <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
86 <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
87 </dependentAssembly>
88 <dependentAssembly>
89 <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
90 <bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
91 </dependentAssembly>
92 <dependentAssembly>
93 <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
94 <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
95 </dependentAssembly>
96 <dependentAssembly>
97 <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
98 <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
99 </dependentAssembly>
100 </assemblyBinding>
101 </runtime>
102 <entityFramework>
103 <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
104 <providers>
105 <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
106 </providers>
107 </entityFramework>
108 <system.codedom>
109 <compilers>
110 <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
111 <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
112 </compilers>
113 </system.codedom>
114 <system.serviceModel>
115 <bindings />
116 <client />
117 </system.serviceModel>
118 </configuration>
119 <!--ProjectGuid: 5136E789-E615-4CEA-A9A9-50050D8A167C-->
2 <!--
3 For more information on how to configure your ASP.NET application, please visit
4 https://go.microsoft.com/fwlink/?LinkId=301880
5 -->
6 <configuration>
7 <configSections>
8 <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
9 <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
10 </configSections>
11 <connectionStrings>
12 <add name="DefaultConnection" connectionString="data source=DESKTOP-13DJ6LQ\SQLEXPRESS;initial catalog=Future;Integrated Security=True" providerName="System.Data.SqlClient" />
13 <!--<add name="DefaultConnection" connectionString="Data Source=SQL5046.site4now.net;Initial Catalog=DB_A4F17D_nguyentien196;User Id=DB_A4F17D_nguyentien196_admin;Password=p4JGEH58RN_P*6n;" providerName="System.Data.SqlClient"/>
14 <add name="FutureEntities" connectionString="metadata=res://*/Models.FutureModel.csdl|res://*/Models.FutureModel.ssdl|res://*/Models.FutureModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=SQL5046.site4now.net;Initial Catalog=DB_A4F17D_nguyentien196;User Id=DB_A4F17D_nguyentien196_admin;Password=p4JGEH58RN_P*6n"" providerName="System.Data.EntityClient"/>-->
15 <add name="FutureEntities" connectionString="metadata=res://*/Models.FutureModel.csdl|res://*/Models.FutureModel.ssdl|res://*/Models.FutureModel.msl;provider=System.Data.SqlClient;provider connection string="data source=DESKTOP-13DJ6LQ\SQLEXPRESS;initial catalog=Future;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
16 </connectionStrings>
17 <appSettings>
18 <add key="webpages:Version" value="3.0.0.0" />
19 <add key="webpages:Enabled" value="false" />
20 <add key="ClientValidationEnabled" value="true" />
21 <add key="UnobtrusiveJavaScriptEnabled" value="true" />
22 <add key="owin:AppStartup" value="Future.Startup,Future" />
23 </appSettings>
24 <!--
25 For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
26
27 The following attributes can be set on the <httpRuntime> tag.
28 <system.Web>
29 <httpRuntime targetFramework="4.5" />
30 </system.Web>
31 -->
32 <system.web>
33 <authentication mode="None" />
34 <compilation targetFramework="4.7.2" />
35 <httpRuntime targetFramework="4.5" />
36 </system.web>
37 <system.webServer>
38 <modules>
39 <remove name="FormsAuthentication" />
40 </modules>
41 </system.webServer>
42 <runtime>
43 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
44 <dependentAssembly>
45 <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
46 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
47 </dependentAssembly>
48 <dependentAssembly>
49 <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
50 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
51 </dependentAssembly>
52 <dependentAssembly>
53 <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
54 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
55 </dependentAssembly>
56 <dependentAssembly>
57 <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
58 <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
59 </dependentAssembly>
60 <dependentAssembly>
61 <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
62 <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
63 </dependentAssembly>
64 <dependentAssembly>
65 <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
66 <bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
67 </dependentAssembly>
68 <dependentAssembly>
69 <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
70 <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
71 </dependentAssembly>
72 <dependentAssembly>
73 <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
74 <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
75 </dependentAssembly>
76 <dependentAssembly>
77 <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
78 <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
79 </dependentAssembly>
80 <dependentAssembly>
81 <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
82 <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
83 </dependentAssembly>
84 <dependentAssembly>
85 <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
86 <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
87 </dependentAssembly>
88 <dependentAssembly>
89 <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
90 <bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
91 </dependentAssembly>
92 <dependentAssembly>
93 <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
94 <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
95 </dependentAssembly>
96 <dependentAssembly>
97 <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
98 <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
99 </dependentAssembly>
100 </assemblyBinding>
101 </runtime>
102 <entityFramework>
103 <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
104 <providers>
105 <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
106 </providers>
107 </entityFramework>
108 <system.codedom>
109 <compilers>
110 <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
111 <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
112 </compilers>
113 </system.codedom>
114 <system.serviceModel>
115 <bindings />
116 <client />
117 </system.serviceModel>
118 </configuration>
119 <!--ProjectGuid: 5136E789-E615-4CEA-A9A9-50050D8A167C-->